<template>
  <aside class="sidebar">
    <div class="sidebar-links">
      <router-link to="/employee/dashboard" class="sidebar-link">员工仪表盘</router-link>
      <router-link to="/employee/room-status" class="sidebar-link">会议室状态概览</router-link>
      <router-link to="/employee/booking-management" class="sidebar-link">订单管理</router-link>
      <router-link to="/employee/cancellation-approval" class="sidebar-link">取消申请审核</router-link>
      <router-link to="/employee/maintenance-management" class="sidebar-link">维修管理</router-link>
      <router-link to="/employee/profile" class="sidebar-link">个人资料</router-link>
    </div>
  </aside>
</template>
<script setup>
</script>
<style scoped>
.sidebar {
  background: #f5f5f5;
  padding: 1.5rem 1rem;
  min-width: 180px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0 1rem 1rem;
  border-radius: 8px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-link {
  color: #333;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.sidebar-link:hover {
  background-color: #e0e0e0;
}

.sidebar-link.router-link-active {
  background-color: #1976d2;
  color: #fff;
}
</style>
